/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/idenger">idenger</a> All rights reserved.
 */
package com.idenger.modules.project.entity.projectprocess;

import org.hibernate.validator.constraints.Length;

import com.idenger.common.persistence.DataEntity;

/**
 * 项目推进Entity
 * @author chenlin
 * @version 2018-04-11
 */
public class ProjectProcess extends DataEntity<ProjectProcess> {
	
	private static final long serialVersionUID = 1L;
	private String projectId;		// 项目ID
	private String subgoal;		// 子目标
	private String subgoalLeadUnit;		// 子目标牵头单位
	private String subgoalLeader;		// 子目标负责人
	private String cooperateUnit;		// 配合单位
	private String processStatus;		// 推进情况
	private String processNode;		// 推进节点
	private String difficulty;		// 面临困难
	private String solveItems;		// 解决事项
	private String sourceRemarks;		// 数据源备注
	private String deleteFlag;		// 删除标记
	
	public ProjectProcess() {
		super();
	}

	public ProjectProcess(String id){
		super(id);
	}

	@Length(min=0, max=64, message="项目ID长度必须介于 0 和 64 之间")
	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	@Length(min=0, max=1024, message="子目标长度必须介于 0 和 1024 之间")
	public String getSubgoal() {
		return subgoal;
	}

	public void setSubgoal(String subgoal) {
		this.subgoal = subgoal;
	}
	
	@Length(min=0, max=64, message="子目标牵头单位长度必须介于 0 和 64 之间")
	public String getSubgoalLeadUnit() {
		return subgoalLeadUnit;
	}

	public void setSubgoalLeadUnit(String subgoalLeadUnit) {
		this.subgoalLeadUnit = subgoalLeadUnit;
	}
	
	@Length(min=0, max=64, message="子目标负责人长度必须介于 0 和 64 之间")
	public String getSubgoalLeader() {
		return subgoalLeader;
	}

	public void setSubgoalLeader(String subgoalLeader) {
		this.subgoalLeader = subgoalLeader;
	}
	
	@Length(min=0, max=1024, message="配合单位长度必须介于 0 和 1024 之间")
	public String getCooperateUnit() {
		return cooperateUnit;
	}

	public void setCooperateUnit(String cooperateUnit) {
		this.cooperateUnit = cooperateUnit;
	}
	
	@Length(min=0, max=1024, message="推进情况长度必须介于 0 和 1024 之间")
	public String getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(String processStatus) {
		this.processStatus = processStatus;
	}
	
	@Length(min=0, max=1024, message="推进节点长度必须介于 0 和 1024 之间")
	public String getProcessNode() {
		return processNode;
	}

	public void setProcessNode(String processNode) {
		this.processNode = processNode;
	}
	
	@Length(min=0, max=1024, message="面临困难长度必须介于 0 和 1024 之间")
	public String getDifficulty() {
		return difficulty;
	}

	public void setDifficulty(String difficulty) {
		this.difficulty = difficulty;
	}
	
	@Length(min=0, max=1024, message="解决事项长度必须介于 0 和 1024 之间")
	public String getSolveItems() {
		return solveItems;
	}

	public void setSolveItems(String solveItems) {
		this.solveItems = solveItems;
	}
	
	@Length(min=0, max=255, message="数据源备注长度必须介于 0 和 255 之间")
	public String getSourceRemarks() {
		return sourceRemarks;
	}

	public void setSourceRemarks(String sourceRemarks) {
		this.sourceRemarks = sourceRemarks;
	}
	
	@Length(min=0, max=1, message="删除标记长度必须介于 0 和 1 之间")
	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	
}